﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DLULearningNetworkModel;

namespace DLULearningNetwork.ViewModels
{
    public class AdminAccountViewModel
    {
        public List<Account> Accounts { get; set; }
        public int CurrentPage { get; set; }
        public int TotalItems { get; set; }
        public int ItemsPerPages { get; set; }
        public int PageSize { get; set; }

        public AdminAccountViewModel(List<Account> accounts, int curPage, int totalItems, int itemsPerPage, int pageSize)
        {
            this.Accounts = accounts;
            this.CurrentPage = curPage;
            this.TotalItems = totalItems;
            this.ItemsPerPages = itemsPerPage;
            this.PageSize = pageSize;
        }
    }
}